Skip to content

Commit 610ef03

Browse files
committed
- Simplified template
1 parent 949f651 commit 610ef03

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/templates/partials/base.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{{~#equals this 'File'~}}
1+
{{~#equals base 'File'~}}
22
{{~#equals @root.httpClient 'fetch'}}Blob{{/equals~}}
33
{{~#equals @root.httpClient 'xhr'}}Blob{{/equals~}}
44
{{~#equals @root.httpClient 'node'}}Buffer | ArrayBuffer | ArrayBufferView{{/equals~}}
55
{{~else~}}
6-
{{this}}
6+
{{base}}
77
{{~/equals~}}

src/templates/partials/typeArray.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{~#if link~}}
22
Array<{{>type link}}>{{>isNullable}}
33
{{~else~}}
4-
Array<{{>base base}}>{{>isNullable}}
4+
Array<{{>base}}>{{>isNullable}}
55
{{~/if~}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{~#if link~}}
22
Record<string, {{>type link}}>{{>isNullable}}
33
{{~else~}}
4-
Record<string, {{>base base}}>{{>isNullable}}
4+
Record<string, {{>base}}>{{>isNullable}}
55
{{~/if~}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{>base base}}{{>isNullable}}
1+
{{>base}}{{>isNullable}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{{>base base}}{{>isNullable}}
1+
{{>base}}{{>isNullable}}

0 commit comments

Comments
 (0)