TypeScript/tests/cases/compiler/extendedUnicodePlaneIdentifiersJSDoc.ts
Wesley Wigham f333684179
Fix unicode escapes in jsx identifiers and extended unicode characters in jsdoc (#32716)
* Fix unicode escapes in jsx identifiers and extended unicode characters in jsdoc

* Support unicode escapes in JSDoc

* Add tests for extended escapes
2019-08-06 15:14:32 -07:00

13 lines
229 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @allowJs: true
// @checkJs: true
// @outDir: ./out
// @target: es2018
// @filename: file.js
/**
* Adds
* @param {number} 𝑚
* @param {number} 𝑀
*/
function foo(𝑚, 𝑀) {
console.log(𝑀 + 𝑚);
}