j7-dev/wp-react-plugin

Move type position

Closed this issue · 0 comments

Because there are 3 kind of WordPress related APIs, wp-rest, wc-rest, wc-store-api

move wp-rest types from @/types to '@/types/wpRestApi'

change

import { TImage } from '@/types'

to

import { TImage } from '@/types/wpRestApi'