Skip to content

Instantly share code, notes, and snippets.

@okunokentaro
Last active September 24, 2015 08:02
Show Gist options
  • Save okunokentaro/387203fd977e3ace9083 to your computer and use it in GitHub Desktop.
Save okunokentaro/387203fd977e3ace9083 to your computer and use it in GitHub Desktop.
string.d.ts
declare module 'string' {
export default stringjs;
}
declare function stringjs(str: string): stringjs.Instance
declare namespace stringjs {
export class Instance {
s: string;
dasherize(): Instance;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment