Improve dts script

pull/2748/head
Alex Dima 4 years ago
parent c4c0a98ef7
commit 2bb6a93576
No known key found for this signature in database
GPG Key ID: 6E58D7B045760DA0

@ -29,7 +29,7 @@ for (let line of lines) {
continue;
}
line = line.replace(/ /g, '\t');
line = line.replace(/export declare/g, 'export');
line = line.replace(/declare /g, '');
if (line.length > 0) {
line = `\t${line}`;
result.push(line);

Loading…
Cancel
Save