-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
I'm getting some errors trying to use the SDK lib in NestJS (v8)
[4:01:21 PM] File change detected. Starting incremental compilation...
node_modules/@types/node/constants.d.ts:12:5 - error TS2309: An export assignment cannot be used in a module with other exported elements.
12 export = exp;
~~~~~~~~~~~~~
src/app/feature-flags/feature-flags.service.ts:1:26 - error TS2306: File '/Users/geraldyeo/Code/silver-davinci/node_modules/@harnessio/ff-nodejs-server-sdk/dist/index.d.ts' is not a module.
1 import * as harness from '@harnessio/ff-nodejs-server-sdk';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4:01:21 PM] Found 2 errors. Watching for file changes.
Any examples on how to use with TS or Nest?
Metadata
Metadata
Assignees
Labels
No labels