-
Notifications
You must be signed in to change notification settings - Fork 10
Broken enums? #48
Copy link
Copy link
Open
Description
I'm poking at the enums for the first time and I currently have:
const Enums = require('the-traveler/build/type-definitions');
console.log(Enums);and the output is:
{
"App": {},
"User": {},
"Content": {},
"Forum": {},
"GroupV2": {},
"Destiny2": {},
"CommunityContent": {},
"Trending": {},
"Fireteam": {}
}
Naturally that seems wrong, so I dug into the package and it looks like there are interfaces.d.ts files (https://github.com/alexanderwe/the-traveler/blob/master/src/type-definitions/destiny2/interfaces.ts for example) that are full of definitions sitting next to empty interfaces.js files, which are the ones that actually get used. These are meant to be the generated files right? I'm not familiar with TypeScript but this is wrong yeah?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels