mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Add method for obtaining UTC TimeScale
This commit is contained in:
1 parent
e5ef1afbee
commit
2c47116ce6
1 file changed
+12
-1
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