Skip to content

Conversation

@raryson
Copy link
Contributor

@raryson raryson commented Sep 9, 2020

Hi,
I have trying use Typescript types on VSCode, but VSCode is not automatically detecting the bullet train types. This happens because the file is named with bullet-train-nodejs-client.d.ts. To code automatically detects a lib custom type we need to rename this file to index.d.ts.

This PR fixes this.

You can read more about modules here:
https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html

@raryson raryson changed the title feat: renamed type file to vscode automatically detect bulelt-train type feat: renamed type file to vscode automatically detect bullet-train type Sep 9, 2020
@kyle-ssg kyle-ssg merged commit 192e3fe into Flagsmith:master Oct 26, 2020
@kyle-ssg
Copy link
Member

Thanks @raryson, this is now in 1.0.6!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants