mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
Correct preprocessor api doc
Correct preprocessor type definition inside api doc
This commit is contained in:
parent
4f26363fe0
commit
4af242570b
@ -186,15 +186,15 @@ result: {
|
||||
} = svelte.preprocess(
|
||||
source: string,
|
||||
preprocessors: Array<{
|
||||
markup?: (input: { source: string, filename: string }) => Promise<{
|
||||
markup?: (input: { content: string, filename: string }) => Promise<{
|
||||
code: string,
|
||||
dependencies?: Array<string>
|
||||
}>,
|
||||
script?: (input: { source: string, attributes: Record<string, string>, filename: string }) => Promise<{
|
||||
script?: (input: { content: string, attributes: Record<string, string>, filename: string }) => Promise<{
|
||||
code: string,
|
||||
dependencies?: Array<string>
|
||||
}>,
|
||||
style?: (input: { source: string, attributes: Record<string, string>, filename: string }) => Promise<{
|
||||
style?: (input: { content: string, attributes: Record<string, string>, filename: string }) => Promise<{
|
||||
code: string,
|
||||
dependencies?: Array<string>
|
||||
}>
|
||||
|
Loading…
Reference in New Issue
Block a user