After setting up the native preview, `// @ts-expect-error` seems to have no effect  