File tree Expand file tree Collapse file tree 4 files changed +35
-0
lines changed
types/changelog-filename-regex Expand file tree Collapse file tree 4 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ import changelogFilenameRegex from 'changelog-filename-regex' ;
2
+
3
+ changelogFilenameRegex . test ( 'CHANGELOG' ) ; // $ExpectType boolean
Original file line number Diff line number Diff line change
1
+ // Type definitions for changelog-filename-regex 2.0
2
+ // Project: https://github.com/shinnn/changelog-filename-regex#readme
3
+ // Definitions by: Jamie Magee <https://github.com/JamieMagee>
4
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
+
6
+ declare const changelogFilenameRegex : RegExp ;
7
+ export = changelogFilenameRegex ;
Original file line number Diff line number Diff line change
1
+ {
2
+ "compilerOptions" : {
3
+ "module" : " commonjs" ,
4
+ "lib" : [
5
+ " es6"
6
+ ],
7
+ "noImplicitAny" : true ,
8
+ "noImplicitThis" : true ,
9
+ "strictFunctionTypes" : true ,
10
+ "strictNullChecks" : true ,
11
+ "esModuleInterop" : true ,
12
+ "baseUrl" : " ../" ,
13
+ "typeRoots" : [
14
+ " ../"
15
+ ],
16
+ "types" : [],
17
+ "noEmit" : true ,
18
+ "forceConsistentCasingInFileNames" : true
19
+ },
20
+ "files" : [
21
+ " index.d.ts" ,
22
+ " changelog-filename-regex-tests.ts"
23
+ ]
24
+ }
Original file line number Diff line number Diff line change
1
+ { "extends" : " dtslint/dt.json" }
You can’t perform that action at this time.
0 commit comments