3.0.15 • Published 3 months ago

@types/ember__string v3.0.15

Weekly downloads
32,146
License
MIT
Repository
github
Last release
3 months ago

Installation

npm install --save @types/ember__string

Summary

This package contains type definitions for @ember/string (https://www.npmjs.com/package/@ember/string).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ember__string/v2.

index.d.ts

// Type definitions for non-npm package @ember/string 2.0
// Project: https://www.npmjs.com/package/@ember/string
// Definitions by: Mike North <https://github.com/mike-north>
//                 Chris Krycho <https://github.com/chriskrycho>
//                 Dan Freeman <https://github.com/dfreeman>
//                 James C. Davis <https://github.com/jamescdavis>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7

import { htmlSafe as templateHtmlSafe, isHTMLSafe as templateIsHTMLSafe } from '@ember/template';

export function camelize(str: string): string;
export function capitalize(str: string): string;
export function classify(str: string): string;
export function dasherize(str: string): string;
export function decamelize(str: string): string;
export function loc(template: string, args?: string[]): string;
export function underscore(str: string): string;
export function w(str: string): string[];

declare module '@ember/string' {
  function htmlSafe(...args: Parameters<typeof templateHtmlSafe>): ReturnType<typeof templateHtmlSafe>;
  function isHTMLSafe(...args: Parameters<typeof templateIsHTMLSafe>): ReturnType<typeof templateIsHTMLSafe>;
}

Additional Details

Credits

These definitions were written by Mike North, Chris Krycho, Dan Freeman, and James C. Davis.

2.0.7

3 months ago

3.0.15

3 months ago

2.0.6

4 months ago

3.0.14

4 months ago

2.0.3

8 months ago

2.0.2

8 months ago

2.0.5

6 months ago

2.0.4

7 months ago

3.0.12

7 months ago

3.0.13

6 months ago

3.0.11

11 months ago

2.0.1

11 months ago

3.0.10

2 years ago

3.0.9

2 years ago

2.0.0

2 years ago

3.16.3

3 years ago

3.16.2

3 years ago

3.16.1

4 years ago

3.16.0

4 years ago

3.0.8

4 years ago

3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago