---
id: fast-element.trustedtypespolicy
title: TrustedTypesPolicy type
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-element](./fast-element.md) &gt; [TrustedTypesPolicy](./fast-element.trustedtypespolicy.md)

## TrustedTypesPolicy type

A policy for use with the standard trustedTypes platform API.

<b>Signature:</b>

```typescript
export declare type TrustedTypesPolicy = {
    createHTML(html: string): string;
};
```