@@ -27,17 +27,17 @@ export const cdnTwoslash = createTwoslashFromCDN({
27
27
compilerOptions : twoslashCompilerOptions ,
28
28
fsMap,
29
29
fetcher ( input , init ) {
30
- console . warn ( `[GLOBAL__FETCHER]: Fetching ${ input } ` ) ;
30
+ console . warn ( `[GLOBAL__FETCHER] Fetching ${ input } ` ) ;
31
31
return fetch ( input , init ) ;
32
32
} ,
33
33
storage : {
34
34
getItemRaw ( key ) {
35
- console . warn ( `[GLOBAL__CDN-TWOSLASH ] Getting item from cache: ${ key } ` ) ;
35
+ console . warn ( `[GLOBAL__STORAGE ] Getting item from cache: ${ key } ` ) ;
36
36
return twoslashStorageMap . get ( key ) ;
37
37
} ,
38
38
setItemRaw ( key , value ) {
39
39
console . warn (
40
- `[GLOBAL__CDN-TWOSLASH ] Setting new item in cache: { key: ${ key } , value: ${ value . slice ( 0 , 100 ) } ... }`
40
+ `[GLOBAL__STORAGE ] Setting new item in cache: { key: ${ key } , value: ${ value . slice ( 0 , 100 ) } ... }`
41
41
) ;
42
42
twoslashStorageMap . set ( key , value ) ;
43
43
} ,
@@ -53,18 +53,18 @@ export function getCdnTwoslashTransformer(options: TransformerTwoslashOptions):
53
53
return createTwoslashFromCDN ( {
54
54
compilerOptions : twoslashCompilerOptions ,
55
55
fetcher ( input , init ) {
56
- console . warn ( `[FETCHER]: Fetching ${ input } ` ) ;
56
+ console . warn ( `[FETCHER] Fetching ${ input } ` ) ;
57
57
return fetch ( input , init ) ;
58
58
} ,
59
59
fsMap,
60
60
storage : {
61
61
getItemRaw ( key ) {
62
- console . warn ( `[CDN-TWOSLASH ] Getting item from cache: ${ key } ` ) ;
62
+ console . warn ( `[STORAGE ] Getting item from cache: ${ key } ` ) ;
63
63
return twoslashStorageMap . get ( key ) ;
64
64
} ,
65
65
setItemRaw ( key , value ) {
66
66
console . warn (
67
- `[CDN-TWOSLASH ] Setting new item in cache: { key: ${ key } , value: ${ value . slice ( 0 , 100 ) } ... }`
67
+ `[STORAGE ] Setting new item in cache: { key: ${ key } , value: ${ value . slice ( 0 , 100 ) } ... }`
68
68
) ;
69
69
twoslashStorageMap . set ( key , value ) ;
70
70
} ,
0 commit comments