triangle-types 1.0.278 → 1.0.279

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.
@@ -10,5 +10,5 @@ export declare class Label {
10
10
  export declare class LabelAux extends Label {
11
11
  readonly num_resources: number;
12
12
  constructor(label: any);
13
- static is(label: any): label is Label;
13
+ static is(label: any): label is LabelAux;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.278",
3
+ "version": "1.0.279",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -37,7 +37,7 @@ export class LabelAux extends Label {
37
37
  this.num_resources = label.num_resources
38
38
  }
39
39
 
40
- static is(label : any) : label is Label {
40
+ static is(label : any) : label is LabelAux {
41
41
  return (
42
42
  Label.is(label) &&
43
43
  typeof label.num_resources === "number"