File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
private/react-native-fantom/src Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import {
1818 type TaskResult ,
1919} from 'tinybench' ;
2020
21- type SuiteOptions = $ReadOnly < {
21+ export type SuiteOptions = $ReadOnly < {
2222 minIterations ?: number ,
2323 minDuration ?: number ,
2424 warmup ?: boolean ,
@@ -28,7 +28,9 @@ type SuiteOptions = $ReadOnly<{
2828 testOnly ?: boolean ,
2929} > ;
3030
31- type TestOptions = $ReadOnly < {
31+ export type TestOptions = FnOptions ;
32+
33+ type InternalTestOptions = $ReadOnly < {
3234 ...FnOptions ,
3335 only ?: boolean ,
3436} > ;
@@ -71,7 +73,7 @@ interface SuiteAPI {
7173interface TestTask {
7274 name : string ;
7375 fn : ( ) = > void ;
74- options : TestOptions | void ;
76+ options : InternalTestOptions | void ;
7577}
7678
7779export function suite(
Original file line number Diff line number Diff line change @@ -567,6 +567,11 @@ export function enqueueModalSizeUpdate(
567567
568568export const unstable_benchmark = Benchmark ;
569569
570+ export type {
571+ SuiteOptions as BenchmarkSuiteOptions ,
572+ TestOptions as BenchmarkTestOptions ,
573+ } from './Benchmark' ;
574+
570575/**
571576 * Quick and dirty polyfills required by tinybench.
572577 */
You can’t perform that action at this time.
0 commit comments