mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
14 lines
290 B
TypeScript
14 lines
290 B
TypeScript
// @allowJs: true
|
|
// @filename: in.js
|
|
// @out: out.js
|
|
/**
|
|
* @param {'literal'} p1
|
|
* @param {"literal"} p2
|
|
* @param {'literal' | 'other'} p3
|
|
* @param {'literal' | number} p4
|
|
* @param {12 | true | 'str'} p5
|
|
*/
|
|
function f(p1, p2, p3, p4, p5) {
|
|
return p1 + p2 + p3 + p4 + p5 + '.';
|
|
}
|