DOM File.lastModifiedDate is deprecated
See original GitHub issueTypeScript Version: 2.4.1
Expected behavior:
Add lastModified
and leave lastModifiedDate
there.
readonly lastModified: number;
Actual behavior:
file: 'file:///test.ts'
severity: '错误'
message: 'Property 'lastModified' does not exist on type 'File'.'
at: '56,14'
source: 'ts'
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:5 (4 by maintainers)
Top Results From Across the Web
File.lastModifiedDate - Web APIs - MDN Web Docs
Deprecated : This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the ......
Read more >File.lastModifiedDate - Dom - CodeProject Reference
Deprecated This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of...
Read more >File.lastModifiedDate
Deprecated This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the ...
Read more >File's properties: lastModified vs lastModifiedDate
In this case the correct procedure is to verify programmatically if lastModified is available and in that case use it; ...
Read more >File - Apache Cordova
This version of the documentation is outdated! Click here for the latest released ... (DOMString); lastModifiedDate: The last time the file was modified....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think this issue can be closed. We have
lastModified
and nolastModifiedDate
now:Has been removed by https://github.com/Microsoft/TSJS-lib-generator/pull/448.