Skip to content

Commit c64bc68

Browse files
committed
chore: declare createDefault TS
1 parent 291051e commit c64bc68

File tree

6 files changed

+9
-0
lines changed

6 files changed

+9
-0
lines changed

dist/js/application.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ type Base = typeof InMemoryEntity & NamedInMemoryEntityConstructor & Defaultable
88
declare const Application_base: Base;
99
export default class Application extends Application_base implements ApplicationSchema {
1010
constructor(data?: Partial<ApplicationSchema>);
11+
createDefault: () => Application;
1112
}
1213
export {};

dist/js/executable.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ type Base = Constructor<ExecutableMixin> & RuntimeItemsInMemoryEntityConstructor
99
declare const Executable_base: Base;
1010
export default class Executable extends Executable_base implements ExecutableSchema {
1111
constructor(data?: Partial<ExecutableSchema>);
12+
createDefault: () => Executable;
1213
}
1314
export {};

dist/js/flavor.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ type Base = typeof InMemoryEntity & Constructor<FlavorMixin> & RuntimeItemsInMem
99
declare const Flavor_base: Base;
1010
export default class Flavor extends Flavor_base implements FlavorSchema {
1111
constructor(data?: Partial<FlavorSchema>);
12+
createDefault: () => Flavor;
1213
}
1314
export {};

src/js/Application.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ export default class Application extends (InMemoryEntity as Base) implements App
2828
...data,
2929
});
3030
}
31+
32+
declare createDefault: () => Application;
3133
}
3234

3335
namedEntityMixin(Application.prototype);

src/js/Executable.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export default class Executable extends (InMemoryEntity as Base) implements Exec
3333
...data,
3434
});
3535
}
36+
37+
declare createDefault: () => Executable;
3638
}
3739

3840
namedEntityMixin(Executable.prototype);

src/js/Flavor.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ export default class Flavor extends (InMemoryEntity as Base) implements FlavorSc
3636
...data,
3737
});
3838
}
39+
40+
declare createDefault: () => Flavor;
3941
}
4042

4143
namedEntityMixin(Flavor.prototype);

0 commit comments

Comments
 (0)