Commit 8ad044d
Added default export in server code. (#135)
This is necessary for nanohtml to work on the server via typescript.
The types declarations declares a default export:
```typescript
declare module "nanohtml" {
export default function (strings: TemplateStringsArray, ...keys: any[]): HTMLElement;
// ...
}
```
So its necessary for the code to match. The code in browser.js already does this.
Fixes #1301 parent e3779cf commit 8ad044d
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments