mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Create path-case-tests.ts
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
/// <reference path="path-case.d.ts" />
|
||||
|
||||
import pathCase = require('path-case');
|
||||
|
||||
console.log(pathCase('string')); // => "string"
|
||||
console.log(pathCase('camelCase')); // => "camel/case"
|
||||
console.log(pathCase('sentence case')); // => "sentence/case"
|
||||
|
||||
console.log(pathCase('MY STRING', 'tr')); // => "my.strıng"
|
||||
Reference in New Issue
Block a user