mirror of https://github.com/sveltejs/svelte
parent
f016a84d45
commit
2f54282ac0
@ -1,9 +0,0 @@
|
||||
const glob = require( 'glob' );
|
||||
const fs = require( 'fs' );
|
||||
|
||||
glob.sync( 'src/**/*.js' ).forEach( file => {
|
||||
console.log( file );
|
||||
const js = fs.readFileSync( file, 'utf-8' );
|
||||
fs.writeFileSync( file.replace( /\.js$/, '.ts' ), js );
|
||||
fs.unlinkSync( file );
|
||||
});
|
Loading…
Reference in new issue