Coral

Results 10 issues of Coral

```ts type MyOmit = { [P in keyof T as P extends K ? never : P] : T[P] } ```

answer
3
en

![image](https://user-images.githubusercontent.com/26180429/52683828-13bcc080-2f7f-11e9-8b9c-d841e3de1cb8.png)

There isn't detail error log. ![image](https://user-images.githubusercontent.com/26180429/76299795-a486dc80-62f6-11ea-89d6-a903cdcb3686.png) Maybe llvm is not greatly compatible on windows.I have lots of problems when install clang+llvm on windows.The reason why I work on Win10 is...

## 版本号 无 ## 什么问题 当某个字段类型为对象,并且这些对象可以分类的时候,希望可以按照[ADT](https://en.wikipedia.org/wiki/Algebraic_data_type)的形式展示某个对象字段。 伪代码大概像这样,yapi视图上提供一个类似对象类型切换tab的能力: ```typescript type Message = TextMessage | ImageMessage | RichTextMessage type TextMessage = { type: MessageEnum.Text id: string text: string } type ImageMessage =...

eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

在看 [TodoList example](https://github.com/remesh-js/remesh/blob/f3c117aa1f57be44c7c250a86b2fb2c1abca8e96/projects/domains/src/todo-mvc-with-multiple-domains/domains/TodoList.ts#L33) 时发现`event`产生依赖于`TodoListModule`的`command`,但是 `command` 实现细节是在`remesh` 内部的,需要使用者确定`command`确实对`list`产生了修改,如果`ListModule`对外暴露`ListChangedEvent、ListItemAddedEvent`等事件,外部就确定事件已发生可以直接使用。不知道有没有必要呢?如果有必要的话我想尝试提一下pr~

现在有这样一个业务方法 ``` typescript const downloadId = downloader.startDownload(url, { onProgress: () => {}, onFinish: () => {}, onFailed: () => {}, }) download.cancelDownload(downloadId) ``` 使用remesh定义如下模型 downloadCommand cancelDownloadCommand downloadStartedEvent progressUpdatedEvent downloadSuccessEvent downloadFailedEvent...

场景: 视频通话开启摄像头本地展示并上传摄像头流。 ### 第三方服务: ```typescript class CameraShareService { public startLocal(dom: HTMLElement): void } ``` ### 通过remesh建模如下: ```typescript OpenCameraCommand OpenCameraStartedEvent OpenCameraSuccessEvent ``` ### 问题 当 `OpenCameraStartedEvent` 事件触发同时修改状态`visible`渲染摄像头 dom,但是 `OpenCameraStartedEvent` 的 effect...