jsii-reflect 1.96.0 → 1.98.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.
package/lib/class.d.ts CHANGED
@@ -52,7 +52,7 @@ export declare class ClassType extends ReferenceType {
52
52
  * @param inherited include all interfaces implemented by all base classes (default: false)
53
53
  */
54
54
  getInterfaces(inherited?: boolean): InterfaceType[];
55
- isClassType(): boolean;
55
+ isClassType(): this is ClassType;
56
56
  private _getProperties;
57
57
  private _getMethods;
58
58
  }
package/lib/enum.d.ts CHANGED
@@ -9,7 +9,7 @@ export declare class EnumType extends Type {
9
9
  readonly spec: jsii.EnumType;
10
10
  constructor(system: TypeSystem, assembly: Assembly, spec: jsii.EnumType);
11
11
  get members(): EnumMember[];
12
- isEnumType(): boolean;
12
+ isEnumType(): this is EnumType;
13
13
  }
14
14
  export declare class EnumMember implements Documentable {
15
15
  readonly enumType: EnumType;
@@ -37,8 +37,8 @@ export declare class InterfaceType extends ReferenceType {
37
37
  getMethods(inherited?: boolean): {
38
38
  [name: string]: Method;
39
39
  };
40
- isDataType(): boolean;
41
- isInterfaceType(): boolean;
40
+ isDataType(): this is InterfaceType;
41
+ isInterfaceType(): this is InterfaceType;
42
42
  private _getProperties;
43
43
  private _getMethods;
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-reflect",
3
- "version": "1.96.0",
3
+ "version": "1.98.0",
4
4
  "description": "strongly-typed reflection library and tools for jsii",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -34,18 +34,18 @@
34
34
  "package": "package-js"
35
35
  },
36
36
  "dependencies": {
37
- "@jsii/check-node": "1.96.0",
38
- "@jsii/spec": "^1.96.0",
37
+ "@jsii/check-node": "1.98.0",
38
+ "@jsii/spec": "^1.98.0",
39
39
  "chalk": "^4",
40
40
  "fs-extra": "^10.1.0",
41
- "oo-ascii-tree": "^1.96.0",
41
+ "oo-ascii-tree": "^1.98.0",
42
42
  "yargs": "^16.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@scope/jsii-calc-lib": "^1.96.0",
45
+ "@scope/jsii-calc-lib": "^1.98.0",
46
46
  "@types/fs-extra": "^9.0.13",
47
- "jsii": "^1.96.0",
48
- "jsii-build-tools": "^1.96.0",
47
+ "jsii": "^1.98.0",
48
+ "jsii-build-tools": "^1.98.0",
49
49
  "jsii-calc": "^3.20.120"
50
50
  }
51
51
  }