File tree 1 file changed +2
-5
lines changed
packages/@css-blocks/build/src/testing
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,11 @@ export interface FileContent {
6
6
[ filename : string ] : string | FileContent ;
7
7
}
8
8
9
- interface Transient {
9
+ export interface TransientFiles {
10
10
( filesObj : FileContent ) : void ;
11
11
restore : ( ) => void ;
12
12
_files : string [ ] ;
13
13
_directories : string [ ] ;
14
- readonly DIRECTORY : symbol ;
15
14
}
16
15
17
16
function transientFS ( filesObj : FileContent ) {
@@ -39,7 +38,6 @@ function transientFS(filesObj: FileContent) {
39
38
}
40
39
}
41
40
}
42
- const DIRECTORY = Symbol ( "transient directory" ) ;
43
41
44
42
function restore ( ) {
45
43
let file , dir ;
@@ -55,10 +53,9 @@ function restore() {
55
53
}
56
54
}
57
55
58
- const transient : Transient = Object . assign ( transientFS , {
56
+ const transient : TransientFiles = Object . assign ( transientFS , {
59
57
_files : [ ] ,
60
58
_directories : [ ] ,
61
- DIRECTORY ,
62
59
restore,
63
60
} ) ;
64
61
You can’t perform that action at this time.
0 commit comments