Remove superfluous generic parameter
This commit is contained in:
parent
185c233b2f
commit
7b3731a5e4
|
@ -43,7 +43,7 @@ export function stringify<T = GenericEmbedded>(x: any, options?: WriterOptions<T
|
||||||
return Writer.stringify(fromJS<T>(x), options);
|
return Writer.stringify(fromJS<T>(x), options);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function preserves<T>(pieces: TemplateStringsArray, ...values: any[]): string {
|
export function preserves(pieces: TemplateStringsArray, ...values: any[]): string {
|
||||||
const result = [pieces[0]];
|
const result = [pieces[0]];
|
||||||
values.forEach((v, i) => {
|
values.forEach((v, i) => {
|
||||||
result.push(stringify(v));
|
result.push(stringify(v));
|
||||||
|
|
Loading…
Reference in New Issue