@typed/vite-plugin 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tsconfig.json CHANGED
@@ -13,9 +13,6 @@
13
13
  "references": [
14
14
  {
15
15
  "path": "../compiler/tsconfig.build.json"
16
- },
17
- {
18
- "path": "../html/tsconfig.build.json"
19
16
  }
20
17
  ]
21
18
  }
package/src/browser.ts DELETED
@@ -1,4 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/triple-slash-reference
2
- /// <reference path="./virtual-modules.d.ts" />
3
-
4
- export * from 'virtual:browser-entry'
package/src/server.ts DELETED
@@ -1,4 +0,0 @@
1
- // eslint-disable-next-line @typescript-eslint/triple-slash-reference
2
- /// <reference path="./virtual-modules.d.ts" />
3
-
4
- export * from 'virtual:server-entry'
@@ -1,39 +0,0 @@
1
- declare module 'virtual:browser-entry' {
2
- import { IntrinsicServices } from '@typed/framework'
3
- import { Renderable } from '@typed/html'
4
- import { RouteMatcher, Redirect } from '@typed/router'
5
-
6
- export const matcher: RouteMatcher<IntrinsicServices, Redirect>
7
-
8
- export const main: Fx<IntrinsicServices, Redirect, Renderable>
9
-
10
- export const render: <T extends HTMLElement>(parentElement: T) => Fx<never, never, T>
11
- }
12
-
13
- declare module 'virtual:server-entry' {
14
- import { IntrinsicServices } from '@typed/framework'
15
- import { Renderable } from '@typed/html'
16
- import { RouteMatcher, Redirect } from '@typed/router'
17
- import express from 'express'
18
- import expressStaticGzip from 'express-static-gzip'
19
-
20
- export const app: express.Express
21
-
22
- export const clientDirectory: string
23
-
24
- export function staticGzip(
25
- options?: expressStaticGzip.ExpressStaticGzipOptions,
26
- ): express.RequestHandler
27
-
28
- export const matcher: RouteMatcher<IntrinsicServices, Redirect>
29
-
30
- export const main: Fx<IntrinsicServices, Redirect, Renderable>
31
-
32
- export const indexHtml: string
33
-
34
- export const requestHandler: express.RequestHandler
35
-
36
- export const listen: typeof app['listen']
37
-
38
- type ArgsOf<T> = T extends (...args: infer A) => any ? A : never
39
- }