Skip to content

Commit

Permalink
Add test for toArray's new return type
Browse files Browse the repository at this point in the history
  • Loading branch information
mongoose700 committed Oct 29, 2020
1 parent 765638c commit 31bee3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ts3.1-typing-tests/moment-tests.ts
Expand Up @@ -161,6 +161,8 @@ var getMonth: number = moment().month();
var getQuater: number = moment().quarter();
var getYear: number = moment().year();

var date: [number, number, number, number, number, number, number] = moment().toArray();

moment().hours(0).minutes(0).seconds(0).milliseconds(0);

var a3 = moment([2011, 0, 1, 8]);
Expand Down

0 comments on commit 31bee3f

Please sign in to comment.