Skip to content

Commit

Permalink
Merge pull request #14992 from Bl4sio/patch-1
Browse files Browse the repository at this point in the history
types: use globalThis instead of global for NativeDate
  • Loading branch information
vkarpov15 authored Oct 29, 2024
2 parents f8489e3 + 8b5bbe8 commit 91ed8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/// <reference path="./virtuals.d.ts" />
/// <reference path="./augmentations.d.ts" />

declare class NativeDate extends global.Date { }
declare class NativeDate extends globalThis.Date { }

declare module 'mongoose' {
import Kareem = require('kareem');
Expand Down

0 comments on commit 91ed8c3

Please sign in to comment.