Created
January 14, 2022 10:01
-
-
Save decentraliser/1730948b5ee219504151ef6bdfe009a6 to your computer and use it in GitHub Desktop.
jsdocs type casting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const subUser = /** @type {SubUserType} */ (/** @type {unknown} */ (user)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment