Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

Fixes to TypeScript type definition file #297

Merged
merged 4 commits into from
Mar 10, 2017
Merged

Fixes to TypeScript type definition file #297

merged 4 commits into from
Mar 10, 2017

Conversation

JeffJacobson
Copy link
Contributor

Fixes #296

🐛 fix: TypeScript type definition file was not included in
package.json. fixes #296
Copy link
Collaborator

@jgravois jgravois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks so much for this!

test.ts Outdated

console.assert(typeof Terraformer !== undefined);

let point = new Terraformer.Primitive({
type: "Point",
coordinates: [1, 2]
coordinates: [1, 2],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are the new trailing commas added automatically?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

once we clean them up, i think we'll be good to merge.

Copy link
Contributor Author

@JeffJacobson JeffJacobson Mar 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a TSLint test to npm run test:ts. The tslint config has been modified to disallow the trailing commas. (By default it requires them. I have no preference either way on this matter.)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you're a hero. i'll find time to pull this down and kick the tires in the next couple of days.

Modified TypeScript files to pass TSLint test.
Modified TSLint configuration.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants