-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define various types under the
Snabbdom
namespace
- Loading branch information
Showing
3 changed files
with
1,125 additions
and
1,130 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,18 +1,18 @@ | ||
import type { Attrs, Classes, Dataset, On, Props } from 'snabbdom'; | ||
|
||
import type Snabbdom from './types'; | ||
import type { Internal } from './types'; | ||
import type Snabbdom from './jsx-runtime'; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default Snabbdom; | ||
|
||
export declare namespace jsx { | ||
export interface CustomModules { | ||
declare namespace jsx { | ||
interface CustomModules { | ||
attrs: Attrs; | ||
class: Classes; | ||
dataset: Dataset; | ||
props: Props; | ||
on: On; | ||
style: Internal.Style; | ||
style: Snabbdom.Style; | ||
} | ||
} | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default Snabbdom; | ||
export type { jsx }; |
Oops, something went wrong.