satori 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
- import * as yoga_layout from 'yoga-layout';
2
+ import { Yoga } from 'yoga-wasm-web';
3
3
 
4
4
  declare const code: {
5
5
  readonly 'ja-JP': RegExp;
@@ -134,8 +134,7 @@ interface TwConfig {
134
134
  }>;
135
135
  }
136
136
 
137
- declare let Yoga: typeof yoga_layout;
138
- declare function init(yoga: typeof Yoga): void;
137
+ declare function init(yoga: Yoga): void;
139
138
 
140
139
  declare type SatoriOptions = ({
141
140
  width: number;