diff --git a/types/repeating/index.d.ts b/types/repeating/index.d.ts index 6d1e8a2359..25f2b043b7 100644 --- a/types/repeating/index.d.ts +++ b/types/repeating/index.d.ts @@ -2,6 +2,7 @@ // Project: https://github.com/sindresorhus/repeating#readme // Definitions by: Claas Ahlrichs // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.7 export = repeating; diff --git a/types/repeating/repeating-tests.ts b/types/repeating/repeating-tests.ts index 855cb98f12..6aa002ae99 100644 --- a/types/repeating/repeating-tests.ts +++ b/types/repeating/repeating-tests.ts @@ -1,7 +1,7 @@ -import repeat from "repeating"; +import repeating from "repeating"; repeating(5); -//=> ' ' +// => ' ' repeating(3, "unicorn "); -//=> 'unicorn unicorn unicorn ' +// => 'unicorn unicorn unicorn '