mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
chore(react): migrate to eslint, add prettier (#26633)
This commit is contained in:
@ -1,10 +1,7 @@
|
||||
import { SerializeDocumentOptions, renderToString } from '@ionic/core/hydrate';
|
||||
import type { SerializeDocumentOptions } from '@ionic/core/hydrate';
|
||||
import { renderToString } from '@ionic/core/hydrate';
|
||||
|
||||
export async function ionRenderToString(
|
||||
html: string,
|
||||
userAgent: string,
|
||||
options: SerializeDocumentOptions = {}
|
||||
) {
|
||||
export async function ionRenderToString(html: string, userAgent: string, options: SerializeDocumentOptions = {}) {
|
||||
const renderToStringOptions = Object.assign(
|
||||
{},
|
||||
{
|
||||
|
Reference in New Issue
Block a user