Skip to content

Commit

Permalink
Fix compile errors on TS 2.6 (palantir#3397)
Browse files Browse the repository at this point in the history
1. [tslib needs to be
updated](https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript)
for the new emit helper `__makeTemplateObject`, used for template
literals.
2. 2.6's improved checking of computed property names in object literals
found a typo in a constant in completedDocsRule.ts.
  • Loading branch information
sandersn authored and adidahiya committed Oct 26, 2017
1 parent 1365c3c commit a17cef5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"minimatch": "^3.0.4",
"resolve": "^1.3.2",
"semver": "^5.3.0",
"tslib": "^1.7.1",
"tslib": "^1.8",
"tsutils": "^2.12.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/rules/completedDocsRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const PRIVACY_PROTECTED = "protected";
export const PRIVACY_PUBLIC = "public";

export const TAGS_FOR_CONTENT = "content";
export const TAGS_FOR_EXISTENCE = "exists";
export const TAGS_FOR_EXISTENCE = "existence";

export const VISIBILITY_EXPORTED = "exported";
export const VISIBILITY_INTERNAL = "internal";
Expand Down

0 comments on commit a17cef5

Please sign in to comment.