Skip to content

Commit 5dc2d9d

Browse files
committed
add types for other files
1 parent 8fec609 commit 5dc2d9d

5 files changed

Lines changed: 27 additions & 0 deletions

File tree

async.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { async as _async } from './index.js'
2+
3+
declare const async: typeof _async
4+
5+
export = async

objectifier.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { objectifiy } from './index.js'
2+
3+
declare const objectifier: typeof objectifiy
4+
5+
export = objectifier

parser.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { parse } from './index.js'
2+
3+
declare const parser: typeof parse
4+
5+
export = parser

process-result.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { CssInJs } from './index.js'
2+
import { LazyResult } from 'postcss'
3+
import NoWorkResult from 'postcss/lib/no-work-result'
4+
5+
declare function processResult(result: LazyResult | NoWorkResult): CssInJs
6+
7+
export = processResult

sync.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { sync as _sync } from './index.js'
2+
3+
declare const sync: typeof _sync
4+
5+
export = sync

0 commit comments

Comments
 (0)