asfernandes / node-firebird-drivers

Node.js Firebird Drivers
MIT License
53 stars 17 forks source link

error TS1086: An accessor cannot be declared in an ambient context. #49

Closed amarildolacerda closed 4 years ago

amarildolacerda commented 4 years ago

Compiler error: (node v12.13.1 - windows)

node_modules/node-firebird-driver-native/dist/lib/statement.d.ts:27:9 - error TS1086: An accessor cannot be declared in an ambient context.

27 get columnLabels(): Promise<string[]>;


node_modules/node-firebird-driver/dist/lib/impl/blob.d.ts:8:9 - error TS1086: An accessor cannot be declared in an ambient context.

8     get length(): Promise<number>;

[11:28:30] Found 2 errors. Watching for file changes.

amarildolacerda commented 4 years ago

Updating Typescript to 3.7.5 - solved