strict-ts-lib-v5.9-branded-decorators-legacy 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +19 -0
  2. package/package.json +21 -0
package/index.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ /// <reference no-default-lib="true"/>
2
+
3
+ declare type ClassDecorator = <TFunction extends Function>(
4
+ target: TFunction,
5
+ ) => TFunction | void;
6
+ declare type PropertyDecorator = (
7
+ target: Object,
8
+ propertyKey: string | symbol,
9
+ ) => void;
10
+ declare type MethodDecorator = <T>(
11
+ target: Object,
12
+ propertyKey: string | symbol,
13
+ descriptor: TypedPropertyDescriptor<T>,
14
+ ) => TypedPropertyDescriptor<T> | void;
15
+ declare type ParameterDecorator = (
16
+ target: Object,
17
+ propertyKey: string | symbol | undefined,
18
+ parameterIndex: number,
19
+ ) => void;
package/package.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "strict-ts-lib-v5.9-branded-decorators-legacy",
3
+ "version": "0.2.0",
4
+ "private": false,
5
+ "description": "Strict TypeScript lib",
6
+ "license": "Apache-2.0",
7
+ "author": "noshiro-pf <noshiro.pf@gmail.com>",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/noshiro-pf/strict-typescript-lib.git"
11
+ },
12
+ "type": "module",
13
+ "sideEffects": false,
14
+ "types": "./index.d.ts",
15
+ "dependencies": {
16
+ "ts-type-forge": "^7.0.0"
17
+ },
18
+ "peerDependencies": {
19
+ "typescript": ">=5.9.0 <6.0.0"
20
+ }
21
+ }