Adopt TypeScript's readonly in editor API

This commit is contained in:
Alex Dima
2016-10-22 23:10:20 +02:00
parent 54c152fd6d
commit 73d151d7ce
26 changed files with 855 additions and 855 deletions

View File

@@ -10,7 +10,7 @@
* or a code-block that provides a language and a code snippet. Note that
* markdown strings will be sanitized - that means html will be escaped.
*/
export type MarkedString = string | { language: string; value: string };
export type MarkedString = string | { readonly language: string; readonly value: string };
export interface IHTMLContentElementCode {
language: string;