File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change 1
- import { TurboWatcher } from './backends/TurboWatcher' ;
2
- import {
3
- type TurbowatchConfiguration ,
4
- type TurbowatchConfigurationInput ,
5
- } from './types' ;
1
+ import { type TurbowatchConfigurationInput } from './types' ;
6
2
7
3
export const defineConfig = (
8
4
configurationInput : TurbowatchConfigurationInput ,
9
- ) : TurbowatchConfiguration => {
5
+ ) : TurbowatchConfigurationInput => {
10
6
return {
11
- // This would not be used in practice, but it's here to make the type system happy.
12
- // bin/turbowatch.ts always overrides this.
13
- abortController : new AbortController ( ) ,
14
-
15
- // as far as I can tell, this is a bug in unicorn/no-unused-properties
16
- // https://github.com/sindresorhus/eslint-plugin-unicorn/issues/2051
17
- // eslint-disable-next-line unicorn/no-unused-properties
18
- debounce : {
19
- wait : 1_000 ,
20
- } ,
21
-
22
- // eslint-disable-next-line unicorn/no-unused-properties
23
- Watcher : TurboWatcher ,
24
7
...configurationInput ,
25
8
} ;
26
9
} ;
You can’t perform that action at this time.
0 commit comments