mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Add more default types for D3 scales
This commit is contained in:
4
d3/d3.d.ts
vendored
4
d3/d3.d.ts
vendored
@@ -1502,8 +1502,11 @@ declare module d3 {
|
||||
copy(): Linear<Range, Output>;
|
||||
}
|
||||
|
||||
export function sqrt(): Pow<number, number>;
|
||||
export function sqrt<Output>(): Pow<Output, Output>;
|
||||
export function sqrt<Range, Output>(): Pow<Range, Output>;
|
||||
|
||||
export function pow(): Pow<number, number>;
|
||||
export function pow<Output>(): Pow<Output, Output>;
|
||||
export function pow<Range, Output>(): Pow<Range, Output>;
|
||||
|
||||
@@ -1538,6 +1541,7 @@ declare module d3 {
|
||||
copy(): Pow<Range, Output>;
|
||||
}
|
||||
|
||||
export function log(): Log<number, number>;
|
||||
export function log<Output>(): Log<Output, Output>;
|
||||
export function log<Range, Output>(): Log<Range, Output>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user