Skip to content

Commit

Permalink
Added declare module to use strict test
Browse files Browse the repository at this point in the history
  • Loading branch information
DickvdBrink committed Aug 15, 2014
1 parent 37b1000 commit 30105c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/files/rules/usestrict.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,10 @@ module TestModuleWithFunction {
function hello() {
// there shouldn't be a failure here since it isn't top level
}
}

declare module foo {
// shouldn't error because of the declare
export class bar {
}
}

0 comments on commit 30105c0

Please sign in to comment.