Add JavaScript and TypeScript reference adapter
This commit is contained in:
parent
cb52bf8ae6
commit
58c0196be5
11 changed files with 1341 additions and 0 deletions
8
tests/fixtures/reference-javascript/src/app/index.js
vendored
Normal file
8
tests/fixtures/reference-javascript/src/app/index.js
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { Service } from "./service.mjs";
|
||||
export { clamp } from "./shared.js";
|
||||
|
||||
throw new Error("The reference adapter must never execute project code");
|
||||
|
||||
export function applicationName() {
|
||||
return Service.name;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue