@@ -27,17 +27,17 @@ export const cdnTwoslash = createTwoslashFromCDN({
2727 compilerOptions : twoslashCompilerOptions ,
2828 fsMap,
2929 fetcher ( input , init ) {
30- console . warn ( `[GLOBAL__FETCHER]: Fetching ${ input } ` ) ;
30+ console . warn ( `[GLOBAL__FETCHER] Fetching ${ input } ` ) ;
3131 return fetch ( input , init ) ;
3232 } ,
3333 storage : {
3434 getItemRaw ( key ) {
35- console . warn ( `[GLOBAL__CDN-TWOSLASH ] Getting item from cache: ${ key } ` ) ;
35+ console . warn ( `[GLOBAL__STORAGE ] Getting item from cache: ${ key } ` ) ;
3636 return twoslashStorageMap . get ( key ) ;
3737 } ,
3838 setItemRaw ( key , value ) {
3939 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 ) } ... }`
4141 ) ;
4242 twoslashStorageMap . set ( key , value ) ;
4343 } ,
@@ -53,18 +53,18 @@ export function getCdnTwoslashTransformer(options: TransformerTwoslashOptions):
5353 return createTwoslashFromCDN ( {
5454 compilerOptions : twoslashCompilerOptions ,
5555 fetcher ( input , init ) {
56- console . warn ( `[FETCHER]: Fetching ${ input } ` ) ;
56+ console . warn ( `[FETCHER] Fetching ${ input } ` ) ;
5757 return fetch ( input , init ) ;
5858 } ,
5959 fsMap,
6060 storage : {
6161 getItemRaw ( key ) {
62- console . warn ( `[CDN-TWOSLASH ] Getting item from cache: ${ key } ` ) ;
62+ console . warn ( `[STORAGE ] Getting item from cache: ${ key } ` ) ;
6363 return twoslashStorageMap . get ( key ) ;
6464 } ,
6565 setItemRaw ( key , value ) {
6666 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 ) } ... }`
6868 ) ;
6969 twoslashStorageMap . set ( key , value ) ;
7070 } ,
0 commit comments