File: modules.ts

package info (click to toggle)
rust-swc-core 35.0.0~ds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (14 lines) | stat: -rw-r--r-- 437 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://www.typescriptlang.org/docs/handbook/modules/reference.html#ambient-modules
export { };
declare module "path" {
    export function normalize(p: string): string;
    export function join(...paths: any[]): string;
    export var sep: string;
}

// https://www.typescriptlang.org/docs/handbook/declaration-merging.html#global-augmentation
declare global {
    interface Array<T> {
        toObservable(): Observable<T>;
    }
}