We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ec965 commit 69fe5bcCopy full SHA for 69fe5bc
tests/fixtures/testModel.ts
@@ -1203,7 +1203,7 @@ export class TestClassModel extends TestClassBaseModel {
1203
}
1204
1205
type NonFunctionPropertyNames<T> = {
1206
- [K in keyof T]: T[K] extends Function ? never : K;
+ [K in keyof T]: T[K] extends CallableFunction ? never : K;
1207
}[keyof T];
1208
type NonFunctionProperties<T> = Pick<T, NonFunctionPropertyNames<T>>;
1209
export class GetterClass {
0 commit comments