mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
21 lines
271 B
TypeScript
21 lines
271 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @strict: true
|
|
// @Filename: a.js
|
|
|
|
/**
|
|
* @param {string=} `args`
|
|
* @param `bwarg` {?number?}
|
|
*/
|
|
function f(args, bwarg) {
|
|
}
|
|
|
|
// @Filename: ts.ts
|
|
|
|
/**
|
|
* @param `arg` - this is fine
|
|
*/
|
|
function g(arg: string) {
|
|
}
|