Skip to content

Commit

Permalink
Ignore error "Type 'Fix' is not assignable to type 'Replacement'.
Browse files Browse the repository at this point in the history
Property 'innerStart' is missing in type 'Fix'."
  • Loading branch information
angelozerr committed May 17, 2017
1 parent b9eb0cf commit 5f9aa53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function init(modules: { typescript: typeof ts_module }) {
} else {
// in tslint 5 a Fix is a Replacement | Replacement[]
if (!Array.isArray(fix)) {
replacements = [fix];
replacements = [<any>fix];
} else {
replacements = fix;
}
Expand Down

0 comments on commit 5f9aa53

Please sign in to comment.