Alan Agius 7b9ceb85fa refactor: use union type in DateConstructor (#21757)
* refactor: use union type in `DateConstructor`

Add support for union types in `DateConstructor`

This will add support for something like the below;
`
let date; string | number;
const date = new Date(x);
`

Closes: #21758

* fix: date constructor can't be passed `string | Date`, but takes either individually

Closes: #20900
2018-02-08 12:22:37 -08:00
..
2017-04-26 14:38:47 -07:00
2017-07-31 15:54:41 -07:00
2017-04-26 14:38:47 -07:00
2017-04-26 14:38:47 -07:00
2017-09-26 13:51:27 -07:00
2017-04-26 14:38:47 -07:00
2017-04-26 14:38:47 -07:00
2017-07-31 15:54:41 -07:00
2017-04-26 14:38:47 -07:00
2017-04-26 14:38:47 -07:00
2017-04-26 14:38:47 -07:00
2017-09-26 13:51:27 -07:00

Read This!

These files are not meant to be edited by hand. If you need to make modifications, the respective files should be changed within the repository's top-level src directory. Running jake LKG will then appropriately update the files in this directory.