File tree Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Expand file tree Collapse file tree 2 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ export async function downloadTemplate(
52
52
options . provider || ( registry ? "registry" : "github" ) ;
53
53
54
54
let source : string = input ;
55
- const sourceProvierMatch = input . match ( sourceProtoRe ) ;
56
- if ( sourceProvierMatch ) {
57
- providerName = sourceProvierMatch [ 1 ] ;
58
- source = input . slice ( sourceProvierMatch [ 0 ] . length ) ;
55
+ const sourceProviderMatch = input . match ( sourceProtoRe ) ;
56
+ if ( sourceProviderMatch ) {
57
+ providerName = sourceProviderMatch [ 1 ] ! ;
58
+ source = input . slice ( sourceProviderMatch [ 0 ] . length ) ;
59
59
if ( providerName === "http" || providerName === "https" ) {
60
60
source = input ;
61
61
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"target" : " ESNext" ,
4
- "module" : " ESNext " ,
5
- "moduleResolution " : " Node " ,
4
+ "module" : " preserve " ,
5
+ "moduleDetection " : " force " ,
6
6
"esModuleInterop" : true ,
7
+ "allowSyntheticDefaultImports" : true ,
8
+ "allowJs" : true ,
7
9
"resolveJsonModule" : true ,
8
- "strict" : true
9
- },
10
- "include" : [
11
- " src"
12
- ]
10
+ "strict" : true ,
11
+ "isolatedModules" : true ,
12
+ "verbatimModuleSyntax" : true ,
13
+ "noUncheckedIndexedAccess" : true ,
14
+ "forceConsistentCasingInFileNames" : true ,
15
+ "noImplicitOverride" : true ,
16
+ "noEmit" : true
17
+ }
13
18
}
You can’t perform that action at this time.
0 commit comments