File: main.mts

package info (click to toggle)
node-rollup-plugin-node-resolve 15.2.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,348 kB
  • sloc: javascript: 2,621; makefile: 10
file content (11 lines) | stat: -rw-r--r-- 277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
// To make this very clearly TypeScript and not just MJS with a MTS extension
type TestType = string | string[];
interface Main {
  (): string;
  propertyCall(input?: TestType): TestType;
}

const main: Main = () => 'It works!';
main.propertyCall = () => '';

export { main };