···139139 | 'pattern'
140140 | 'required'
141141 | 'title'
142142+ | 'example'
142143 > {
143144 /**
144145 * If the schema is intended to be used as an object property, it can be
···295295 const pluginTypeScript = plugin.getPlugin('@hey-api/typescript')!;
296296 // TODO: parser - this is a bit clunky, need to compile type to string because
297297 // `compiler.returnFunctionCall()` accepts only strings, should be cleaned up
298298+ const typescriptState = {
299299+ usedTypeIDs: new Set<string>(),
300300+ };
298301 const type = pluginTypeScript.api.schemaToType({
299302 plugin: pluginTypeScript,
300303 schema: pagination.schema,
304304+ state: typescriptState,
301305 });
302306 const typePageParam = `${tsNodeToString({
303307 node: type,