Skip to content

Commit 1c753df

Browse files
fix: typescript@6 (#38)
1 parent a671b6d commit 1c753df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generate-types/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ const printError = (diagnostic) => {
812812
}
813813
if (
814814
name.startsWith("__@") &&
815-
(prop.flags & ts.TypeFlags.ESSymbolLike) === 0
815+
(prop.flags & ts.SymbolFlags.Method) === 0
816816
)
817817
continue;
818818
if (baseTypes.some((t) => t.getProperty(name))) continue;

0 commit comments

Comments
 (0)