8 lines
197 B
JavaScript
8 lines
197 B
JavaScript
|
import { parseDef } from "../parseDef.js";
|
||
|
export function parseDefaultDef(_def, refs) {
|
||
|
return {
|
||
|
...parseDef(_def.innerType._def, refs),
|
||
|
default: _def.defaultValue(),
|
||
|
};
|
||
|
}
|