neutralinojs / neutralino.js

JavaScript API for Neutralinojs
https://neutralino.js.org/docs/api/overview
MIT License
238 stars 49 forks source link

neutralino.d.ts contains invalid enum syntax #129

Open DizzyHSlightlyVoided opened 1 week ago

DizzyHSlightlyVoided commented 1 week ago

When I try to compile TypeScript, neutralino.d.ts complains about the enum statements: Top-level declarations in .d.ts files must start with either a 'declare' or 'export' modifier.

This should be easy enough to fix; after going through and removing the "export" statements (c.f. #117), it should replace top-level enum with declare enum.

CosmoMyzrailGorynych commented 2 days ago

@DizzyHSlightlyVoided do you mean there is a bug in my PR? I can look into that if it is so.