1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2025-06-14 22:27:33 +02:00

Update jsdoc.md to use the @import keyword (#2159)

Added the newer import syntax that works on TS 5.5
This commit is contained in:
Cyprien 2024-07-29 13:40:12 +02:00 committed by GitHub
parent 27970b1495
commit 746bae2ebe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
---
title: Jsdoc
category: JavaScript
updated: 2020-06-23
updated: 2024-07-26
weight: -1
---
@ -113,6 +113,10 @@ See: <https://jsdoc.app/tags-typedef.html>
* @typedef {import('./Foo').default} Bar
*/
// or
/** @import { Bar } from "./Foo.js" */
/**
* @param {Bar} x
*/