File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/vs/workbench/contrib/notebook/common Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -124,15 +124,15 @@ export interface NotebookCellDefaultCollapseConfig {
124124
125125export type InteractiveWindowCollapseCodeCells = 'always' | 'never' | 'fromEditor' ;
126126
127- export type TransientCellMetadata = { [ K in keyof NotebookCellMetadata ] ?: boolean } ;
128- export type CellContentMetadata = { [ K in keyof NotebookCellMetadata ] ?: boolean } ;
129- export type TransientDocumentMetadata = { [ K in keyof NotebookDocumentMetadata ] ?: boolean } ;
127+ export type TransientCellMetadata = { readonly [ K in keyof NotebookCellMetadata ] ?: boolean } ;
128+ export type CellContentMetadata = { readonly [ K in keyof NotebookCellMetadata ] ?: boolean } ;
129+ export type TransientDocumentMetadata = { readonly [ K in keyof NotebookDocumentMetadata ] ?: boolean } ;
130130
131131export interface TransientOptions {
132- transientOutputs : boolean ;
133- transientCellMetadata : TransientCellMetadata ;
134- transientDocumentMetadata : TransientDocumentMetadata ;
135- cellContentMetadata : CellContentMetadata ;
132+ readonly transientOutputs : boolean ;
133+ readonly transientCellMetadata : TransientCellMetadata ;
134+ readonly transientDocumentMetadata : TransientDocumentMetadata ;
135+ readonly cellContentMetadata : CellContentMetadata ;
136136}
137137
138138/** Note: enum values are used for sorting */
You can’t perform that action at this time.
0 commit comments