node-zwave-js/packages/transformers/test/fixtures/testClass._imports.mts

33 lines
427 B
TypeScript

class FooBar {
constructor() {
this.foo = "foo";
}
public foo: "foo";
}
export { FooBar as Foo };
export class Baz {
constructor() {
this.baz = "baz";
}
public baz: "baz";
public static isBaz(value: any): value is Baz {
return typeof value === "object"
&& value != null
&& "baz" in value
&& value.baz === "baz";
}
}
export class Bar {
constructor() {
this.bar = "bar";
}
public bar: "bar";
}