File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/tailwindcss/src/compat Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -3,16 +3,12 @@ import { compile as coreCompile } from '..'
33import plugin from '../plugin'
44import { optimizeCss } from '../test-utils/run'
55import defaultTheme from './default-theme'
6- import type { CssInJs , PluginAPI , PluginWithConfig } from './plugin-api'
6+ import type { CssInJs , Plugin , PluginAPI } from './plugin-api'
77
88const css = String . raw
99
1010// TODO: Expand the API changes into the tests below
11- function compile (
12- css : string ,
13- base : string ,
14- { loadPlugin } : { loadPlugin : ( ) => Promise < PluginWithConfig > } ,
15- ) {
11+ function compile ( css : string , base : string , { loadPlugin } : { loadPlugin : ( ) => Promise < Plugin > } ) {
1612 return coreCompile ( css , base , {
1713 async loadModule ( id , base ) {
1814 let plugin = await loadPlugin ( )
You can’t perform that action at this time.
0 commit comments