- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- site: added error page - added: react type definitions - changed: Return type of `HttpHandler` and `ErrorHandler` to `void | Promise<void>`
- v1.3.4
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.9
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.0
- v1.0.0-rc4
- v1.0.0-rc3
- v1.0.0-rc2
- v1.0.0-rc1
- v0.39.1
- v0.39.0
- v0.38.0
- v0.37.0
- v0.36.1
- v0.36.0
- v0.35.0
- v0.34.0
- v0.33.0
- v0.32.0
- v0.31.1
- v0.31.0
- v0.30.0
- v0.29.0
- v0.28.0
- v0.27.1
- v0.27.0
- v0.26.2
- v0.26.1
- v0.26.0
- v0.25.5
- v0.24.4
- v0.24.3
- v0.24.2
- v0.24.1
- v0.24.0
- v0.23.0
- v0.22.0
- v0.21.0
- v0.20.0
- v0.19.0
- 1.0.0-rc1
Showing
29 changed files
with
4,195 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
import React from "../../vendor/https/dev.jspm.io/react/index.js"; | ||
export default () => ( | ||
<html>deno</html> | ||
) | ||
export default () => <html>deno</html>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export default "string" | ||
export default "string"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,35 @@ | ||
import React from "../../vendor/https/dev.jspm.io/react/index.js"; | ||
|
||
export const Layout = ({children}: { | ||
children?: any | ||
}) => ( | ||
export const Layout: React.FC = ({ children }) => ( | ||
<html lang="en"> | ||
<head> | ||
<meta charSet="UTF-8"/> | ||
<title>Servest: A progressive http server for Deno</title> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" | ||
/> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> | ||
<meta name="description" | ||
content="Servest is simple, stable, and progressive http module for Deno" /> | ||
<meta name="keywords" content="Deno,TypeScript,JavaScript,Framework,HTTP,Server,Servest" /> | ||
<link href="./reset.css" rel="stylesheet" /> | ||
<link href="./index.css" rel="stylesheet"/> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/solarized-dark.min.css" | ||
/> | ||
</head> | ||
<body> | ||
{children} | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js" /> | ||
<script>hljs.initHighlightingOnLoad();</script> | ||
</body> | ||
<head> | ||
<meta charSet="UTF-8" /> | ||
<title>Servest: A progressive http server for Deno</title> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" | ||
/> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> | ||
<meta | ||
name="description" | ||
content="Servest is simple, stable, and progressive http module for Deno" | ||
/> | ||
<meta | ||
name="keywords" | ||
content="Deno,TypeScript,JavaScript,Framework,HTTP,Server,Servest" | ||
/> | ||
<link href="./reset.css" rel="stylesheet" /> | ||
<link href="./index.css" rel="stylesheet" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/styles/solarized-dark.min.css" | ||
/> | ||
</head> | ||
<body> | ||
{children} | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.10/highlight.min.js" /> | ||
<script>hljs.initHighlightingOnLoad();</script> | ||
</body> | ||
</html> | ||
); | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import React from "../vendor/https/dev.jspm.io/react/index.js"; | ||
|
||
export type DFC<P={}> = React.FC<P> & { | ||
getInitialProps?: () => Promise<P> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
// Copyright 2019 Yusuke Sakurai. All rights reserved. MIT license. | ||
import React from "../vendor/https/dev.jspm.io/react/index.js"; | ||
|
||
import { createRouter } from "../router.ts"; | ||
import { serveStatic } from "../serve_static.ts"; | ||
import { Loglevel } from "../logger.ts"; | ||
import { Layout } from "./components/layout.tsx"; | ||
import { pathResolver } from "../util.ts"; | ||
import { serveJsx } from "../serve_jsx.ts"; | ||
import { RoutingError } from "../error.ts"; | ||
|
||
const port = Deno.env()["PORT"] || "8899"; | ||
const router = createRouter({ logLevel: Loglevel.INFO }); | ||
const resolve = pathResolver(import.meta.url); | ||
const resolve = pathResolver(import.meta); | ||
router.use(serveStatic(resolve("./public"))); | ||
router.use(serveJsx(resolve("./pages"), Layout)); | ||
router.get(new RegExp("/@(?<version>.*?)/(?<pathname>.+?)$"), async req => { | ||
router.get(new RegExp("^/@(?<version>.*?)/(?<pathname>.+?)$"), async req => { | ||
let { version, pathname } = req.match.groups; | ||
if (!version) { | ||
version = "master" | ||
version = "master"; | ||
} | ||
const u = `https://raw.githubusercontent.com/keroxp/servest/${version}/${pathname}`; | ||
await fetch(u).then(req.respond); | ||
}); | ||
router.handleError(async (e, req) => { | ||
if (e instanceof RoutingError) { | ||
const body = await Deno.open(resolve("./public/error.html"), "r"); | ||
await req | ||
.respond({ | ||
status: e.status, | ||
headers: new Headers({ | ||
"content-type": "text/html; charset=UTF-8" | ||
}), | ||
body | ||
}) | ||
.finally(() => body.close()); | ||
} | ||
}); | ||
router.listen(":" + port); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Servest: A progressive http server for Deno</title> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" | ||
/> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" /> | ||
<meta | ||
name="description" | ||
content="Servest is simple, stable, and progressive http module for Deno" | ||
/> | ||
<meta | ||
name="keywords" | ||
content="Deno,TypeScript,JavaScript,Framework,HTTP,Server,Servest" | ||
/> | ||
</head> | ||
<body> | ||
<div class="errorPage"> | ||
<h2>404: NotFound</h2> | ||
<a href="https://github.com/hashrock/deno-gifs" target="_blank"> | ||
<img | ||
src="https://raw.githubusercontent.com/hashrock/deno-gifs/master/deno-firework.gif" | ||
/> | ||
</a> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// forward declarations | ||
declare global { | ||
namespace NodeJS { | ||
// tslint:disable-next-line:no-empty-interface | ||
interface ReadableStream {} | ||
} | ||
} | ||
|
||
import { ReactElement } from "../../react/index.d.ts"; | ||
|
||
/** | ||
* Render a React element to its initial HTML. This should only be used on the server. | ||
* React will return an HTML string. You can use this method to generate HTML on the server | ||
* and send the markup down on the initial request for faster page loads and to allow search | ||
* engines to crawl your pages for SEO purposes. | ||
* | ||
* If you call `ReactDOM.render()` on a node that already has this server-rendered markup, | ||
* React will preserve it and only attach event handlers, allowing you | ||
* to have a very performant first-load experience. | ||
*/ | ||
export function renderToString(element: ReactElement): string; | ||
|
||
/** | ||
* Render a React element to its initial HTML. Returns a Readable stream that outputs | ||
* an HTML string. The HTML output by this stream is exactly equal to what | ||
* `ReactDOMServer.renderToString()` would return. | ||
*/ | ||
export function renderToNodeStream( | ||
element: ReactElement | ||
): NodeJS.ReadableStream; | ||
|
||
/** | ||
* Similar to `renderToString`, except this doesn't create extra DOM attributes | ||
* such as `data-reactid`, that React uses internally. This is useful if you want | ||
* to use React as a simple static page generator, as stripping away the extra | ||
* attributes can save lots of bytes. | ||
*/ | ||
export function renderToStaticMarkup(element: ReactElement): string; | ||
|
||
/** | ||
* Similar to `renderToNodeStream`, except this doesn't create extra DOM attributes | ||
* such as `data-reactid`, that React uses internally. The HTML output by this stream | ||
* is exactly equal to what `ReactDOMServer.renderToStaticMarkup()` would return. | ||
*/ | ||
export function renderToStaticNodeStream( | ||
element: ReactElement | ||
): NodeJS.ReadableStream; | ||
|
||
export const version: string; | ||
|
||
export as namespace ReactDOMServer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* | ||
React projects that don't include the DOM library need these interfaces to compile. | ||
React Native applications use React, but there is no DOM available. The JavaScript runtime | ||
is ES6/ES2015 only. These definitions allow such projects to compile with only `--lib ES6`. | ||
*/ | ||
|
||
// interface Event { } | ||
interface AnimationEvent extends Event {} | ||
interface ClipboardEvent extends Event {} | ||
interface CompositionEvent extends Event {} | ||
interface DragEvent extends Event {} | ||
interface FocusEvent extends Event {} | ||
interface KeyboardEvent extends Event {} | ||
interface MouseEvent extends Event {} | ||
interface TouchEvent extends Event {} | ||
interface PointerEvent extends Event {} | ||
interface TransitionEvent extends Event {} | ||
interface UIEvent extends Event {} | ||
interface WheelEvent extends Event {} | ||
|
||
// interface EventTarget { } | ||
interface Document {} | ||
interface DataTransfer {} | ||
interface StyleMedia {} | ||
|
||
interface Element {} | ||
|
||
interface HTMLElement extends Element {} | ||
interface HTMLAnchorElement extends HTMLElement {} | ||
interface HTMLAreaElement extends HTMLElement {} | ||
interface HTMLAudioElement extends HTMLElement {} | ||
interface HTMLBaseElement extends HTMLElement {} | ||
interface HTMLBodyElement extends HTMLElement {} | ||
interface HTMLBRElement extends HTMLElement {} | ||
interface HTMLButtonElement extends HTMLElement {} | ||
interface HTMLCanvasElement extends HTMLElement {} | ||
interface HTMLDataElement extends HTMLElement {} | ||
interface HTMLDataListElement extends HTMLElement {} | ||
interface HTMLDialogElement extends HTMLElement {} | ||
interface HTMLDivElement extends HTMLElement {} | ||
interface HTMLDListElement extends HTMLElement {} | ||
interface HTMLEmbedElement extends HTMLElement {} | ||
interface HTMLFieldSetElement extends HTMLElement {} | ||
interface HTMLFormElement extends HTMLElement {} | ||
interface HTMLHeadingElement extends HTMLElement {} | ||
interface HTMLHeadElement extends HTMLElement {} | ||
interface HTMLHRElement extends HTMLElement {} | ||
interface HTMLHtmlElement extends HTMLElement {} | ||
interface HTMLIFrameElement extends HTMLElement {} | ||
interface HTMLImageElement extends HTMLElement {} | ||
interface HTMLInputElement extends HTMLElement {} | ||
interface HTMLModElement extends HTMLElement {} | ||
interface HTMLLabelElement extends HTMLElement {} | ||
interface HTMLLegendElement extends HTMLElement {} | ||
interface HTMLLIElement extends HTMLElement {} | ||
interface HTMLLinkElement extends HTMLElement {} | ||
interface HTMLMapElement extends HTMLElement {} | ||
interface HTMLMetaElement extends HTMLElement {} | ||
interface HTMLObjectElement extends HTMLElement {} | ||
interface HTMLOListElement extends HTMLElement {} | ||
interface HTMLOptGroupElement extends HTMLElement {} | ||
interface HTMLOptionElement extends HTMLElement {} | ||
interface HTMLParagraphElement extends HTMLElement {} | ||
interface HTMLParamElement extends HTMLElement {} | ||
interface HTMLPreElement extends HTMLElement {} | ||
interface HTMLProgressElement extends HTMLElement {} | ||
interface HTMLQuoteElement extends HTMLElement {} | ||
interface HTMLScriptElement extends HTMLElement {} | ||
interface HTMLSelectElement extends HTMLElement {} | ||
interface HTMLSourceElement extends HTMLElement {} | ||
interface HTMLSpanElement extends HTMLElement {} | ||
interface HTMLStyleElement extends HTMLElement {} | ||
interface HTMLTableElement extends HTMLElement {} | ||
interface HTMLTableColElement extends HTMLElement {} | ||
interface HTMLTableDataCellElement extends HTMLElement {} | ||
interface HTMLTableHeaderCellElement extends HTMLElement {} | ||
interface HTMLTableRowElement extends HTMLElement {} | ||
interface HTMLTableSectionElement extends HTMLElement {} | ||
interface HTMLTemplateElement extends HTMLElement {} | ||
interface HTMLTextAreaElement extends HTMLElement {} | ||
interface HTMLTitleElement extends HTMLElement {} | ||
interface HTMLTrackElement extends HTMLElement {} | ||
interface HTMLUListElement extends HTMLElement {} | ||
interface HTMLVideoElement extends HTMLElement {} | ||
interface HTMLWebViewElement extends HTMLElement {} | ||
|
||
interface SVGElement extends Element {} | ||
interface SVGSVGElement extends SVGElement {} | ||
interface SVGCircleElement extends SVGElement {} | ||
interface SVGClipPathElement extends SVGElement {} | ||
interface SVGDefsElement extends SVGElement {} | ||
interface SVGDescElement extends SVGElement {} | ||
interface SVGEllipseElement extends SVGElement {} | ||
interface SVGFEBlendElement extends SVGElement {} | ||
interface SVGFEColorMatrixElement extends SVGElement {} | ||
interface SVGFEComponentTransferElement extends SVGElement {} | ||
interface SVGFECompositeElement extends SVGElement {} | ||
interface SVGFEConvolveMatrixElement extends SVGElement {} | ||
interface SVGFEDiffuseLightingElement extends SVGElement {} | ||
interface SVGFEDisplacementMapElement extends SVGElement {} | ||
interface SVGFEDistantLightElement extends SVGElement {} | ||
interface SVGFEDropShadowElement extends SVGElement {} | ||
interface SVGFEFloodElement extends SVGElement {} | ||
interface SVGFEFuncAElement extends SVGElement {} | ||
interface SVGFEFuncBElement extends SVGElement {} | ||
interface SVGFEFuncGElement extends SVGElement {} | ||
interface SVGFEFuncRElement extends SVGElement {} | ||
interface SVGFEGaussianBlurElement extends SVGElement {} | ||
interface SVGFEImageElement extends SVGElement {} | ||
interface SVGFEMergeElement extends SVGElement {} | ||
interface SVGFEMergeNodeElement extends SVGElement {} | ||
interface SVGFEMorphologyElement extends SVGElement {} | ||
interface SVGFEOffsetElement extends SVGElement {} | ||
interface SVGFEPointLightElement extends SVGElement {} | ||
interface SVGFESpecularLightingElement extends SVGElement {} | ||
interface SVGFESpotLightElement extends SVGElement {} | ||
interface SVGFETileElement extends SVGElement {} | ||
interface SVGFETurbulenceElement extends SVGElement {} | ||
interface SVGFilterElement extends SVGElement {} | ||
interface SVGForeignObjectElement extends SVGElement {} | ||
interface SVGGElement extends SVGElement {} | ||
interface SVGImageElement extends SVGElement {} | ||
interface SVGLineElement extends SVGElement {} | ||
interface SVGLinearGradientElement extends SVGElement {} | ||
interface SVGMarkerElement extends SVGElement {} | ||
interface SVGMaskElement extends SVGElement {} | ||
interface SVGMetadataElement extends SVGElement {} | ||
interface SVGPathElement extends SVGElement {} | ||
interface SVGPatternElement extends SVGElement {} | ||
interface SVGPolygonElement extends SVGElement {} | ||
interface SVGPolylineElement extends SVGElement {} | ||
interface SVGRadialGradientElement extends SVGElement {} | ||
interface SVGRectElement extends SVGElement {} | ||
interface SVGStopElement extends SVGElement {} | ||
interface SVGSwitchElement extends SVGElement {} | ||
interface SVGSymbolElement extends SVGElement {} | ||
interface SVGTextElement extends SVGElement {} | ||
interface SVGTextPathElement extends SVGElement {} | ||
interface SVGTSpanElement extends SVGElement {} | ||
interface SVGUseElement extends SVGElement {} | ||
interface SVGViewElement extends SVGElement {} | ||
|
||
interface Text {} | ||
interface TouchList {} | ||
interface WebGLRenderingContext {} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "https://dev.jspm.io/npm:@types/prop-types@15.7.2/index.d.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "https://dev.jspm.io/npm:@types/react-dom@16.9.1/server/index.d.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "https://dev.jspm.io/npm:@types/react@16.9.5/global.d.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "https://dev.jspm.io/npm:@types/react@16.9.5/index.d.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from "https://dev.jspm.io/npm:csstype@2.6.7/index.d.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// @deno-types="../../../../types/react-dom/server/index.d.ts" | ||
export * from "https://dev.jspm.io/react-dom@16.10.2/server.js"; | ||
// @deno-types="../../../../types/react-dom/server/index.d.ts" | ||
import { default as dew } from "https://dev.jspm.io/react-dom@16.10.2/server.js"; | ||
export default dew; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// @deno-types="../../../../types/react/index.d.ts" | ||
export * from "https://dev.jspm.io/react@16.10.2/index.js"; | ||
// @deno-types="../../../../types/react/index.d.ts" | ||
import { default as dew } from "https://dev.jspm.io/react@16.10.2/index.js"; | ||
export default dew; |