Skip to content

Commit 5acc818

Browse files
authored
feat: Group flow declaration file under *.js of the same filename (#249)
Flow declaration should always have the same filename with `.flow` appended: https://flow.org/en/docs/declarations/
1 parent e03dcc3 commit 5acc818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ const base = {
443443
'*.fs': '$(capture).fs.js, $(capture).fs.js.map, $(capture).fs.jsx, $(capture).fs.ts, $(capture).fs.tsx, $(capture).fs.rs, $(capture).fs.php, $(capture).fs.dart',
444444
'*.go': '$(capture)_test.go',
445445
'*.java': '$(capture).class',
446-
'*.js': '$(capture).js.map, $(capture).*.js, $(capture)_*.js, $(capture).d.ts',
446+
'*.js': '$(capture).js.map, $(capture).*.js, $(capture)_*.js, $(capture).d.ts, $(capture).js.flow',
447447
'*.jsx': '$(capture).js, $(capture).*.jsx, $(capture)_*.js, $(capture)_*.jsx, $(capture).module.css, $(capture).less, $(capture).module.less, $(capture).module.less.d.ts, $(capture).scss, $(capture).module.scss, $(capture).module.scss.d.ts',
448448
'*.master': '$(capture).*.cs, $(capture).*.vb',
449449
'*.md': '$(capture).*',

0 commit comments

Comments
 (0)