mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Test created
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/// <reference path="replace-ext.d.ts" />
|
||||
import replaceExt = require('replace-ext');
|
||||
|
||||
var path: string = '/some/dir/file.js';
|
||||
var npath: string = replaceExt(path, '.coffee');
|
||||
Reference in New Issue
Block a user