{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/8568","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/8568/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/8568/comments","events_url":"https://api.github.com/repos/angular/angular/issues/8568/events","html_url":"https://github.com/angular/angular/issues/8568","id":153991984,"number":8568,"title":"Include the Safe* interfaces in the exports of @angular/platform-browser","user":{"login":"Tragetaschen","id":1947968,"avatar_url":"https://avatars.githubusercontent.com/u/1947968?v=3","gravatar_id":"","url":"https://api.github.com/users/Tragetaschen","html_url":"https://github.com/Tragetaschen","followers_url":"https://api.github.com/users/Tragetaschen/followers","following_url":"https://api.github.com/users/Tragetaschen/following{/other_user}","gists_url":"https://api.github.com/users/Tragetaschen/gists{/gist_id}","starred_url":"https://api.github.com/users/Tragetaschen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tragetaschen/subscriptions","organizations_url":"https://api.github.com/users/Tragetaschen/orgs","repos_url":"https://api.github.com/users/Tragetaschen/repos","events_url":"https://api.github.com/users/Tragetaschen/events{/privacy}","received_events_url":"https://api.github.com/users/Tragetaschen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-10T12:16:26Z","updated_at":"2016-05-10T12:16:26Z","closed_at":null,"body":"After reading #8491, I tried to implement the solution to [mark the generated style string as safe](https://github.com/angular/angular/issues/8491#issuecomment-217467582). \r\n```ts\r\nthis.svgUrl = sanitizer.bypassSecurityTrustStyle('url(\\'image.svg\\')');\r\n```\r\nHowever, `bypassSecurityTrustStyle()` returns `SafeStyle` instead of `string` (as the comment suggests) and this marker interface isn't exported by `@angular/platform-browser`. That means, I cannot properly type my class member.\r\n\r\nPlease export the marker interfaces `SafeStyle`, `SafeHtml`, etc. so this solution works without `any`."}}