( target: T, )
| 141 | */ |
| 142 | /*@__NO_SIDE_EFFECTS__*/ |
| 143 | export function shallowReactive<T extends object>( |
| 144 | target: T, |
| 145 | ): ShallowReactive<T> { |
| 146 | return createReactiveObject( |
| 147 | target, |
| 148 | false, |
| 149 | shallowReactiveHandlers, |
| 150 | shallowCollectionHandlers, |
| 151 | shallowReactiveMap, |
| 152 | ) |
| 153 | } |
| 154 | |
| 155 | type Primitive = string | number | boolean | bigint | symbol | undefined | null |
| 156 | export type Builtin = Primitive | Function | Date | Error | RegExp |
no test coverage detected