Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
qwtel committed Aug 13, 2024
1 parent 4f80a79 commit 1eead8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A modernized fork of [Comlink](https://github.com/GoogleChromeLabs/comlink) with

```ts
// file: w1.ts
import * as Caplink from 'caplink';
import * as Caplink from '@workers/caplink';
export class Greeter {
helloWorld(name = "World") {
console.log(`Hello, ${name}!`);
Expand All @@ -20,7 +20,7 @@ Caplink.expose(W1Fns);

```ts
// file: w2.ts
import * as Caplink from 'caplink';
import * as Caplink from '@workers/caplink';
import type { Greeter } from "./w1.ts";

export class W2Fns {
Expand All @@ -35,7 +35,7 @@ Caplink.expose(W2Fns);

```ts
// file: index.ts
import * as Caplink from 'caplink';
import * as Caplink from '@workers/caplink';
import type { W1Fns } from "./w1.ts";
import type { W2Fns } from "./w2.ts";

Expand Down

0 comments on commit 1eead8f

Please sign in to comment.