mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +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) {
|
|
}
|