mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add method for obtaining UTC TimeScale
This commit is contained in:
Vendored
+12
-1
@@ -944,7 +944,18 @@ declare module D3 {
|
||||
iso: TimeFormat;
|
||||
};
|
||||
|
||||
scale(): Scale.TimeScale;
|
||||
scale: {
|
||||
/**
|
||||
* Constructs a new time scale with the default domain and range;
|
||||
* the ticks and tick format are configured for local time.
|
||||
*/
|
||||
(): Scale.TimeScale;
|
||||
/**
|
||||
* Constructs a new time scale with the default domain and range;
|
||||
* the ticks and tick format are configured for UTC time.
|
||||
*/
|
||||
utc(): Scale.TimeScale;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Range {
|
||||
|
||||
Reference in New Issue
Block a user