Logo
Explore Help
Register Sign In
yujunjun/datahub
2
0
Fork 0
You've already forked datahub
mirror of https://github.com/datahub-project/datahub.git synced 2025-07-26 11:00:06 +00:00
Code Issues Packages Projects Releases Wiki Activity
datahub/wherehows-web/app/typings/generic.d.ts

8 lines
233 B
TypeScript
Raw Normal View History

refactors login flow. adds profile avatar. updates dependencies refactors comments feature: initial get comments and create comment updates tsconfig to support es2017 object prototype methods: values, entries, creates user-avatar component, adds styles, converts constants files to ts updates comment editor. updates styling. adds auto focus on click adds comment deletion adds confirmation dialog for comment deletion adds string union generic constraint type. adds comment stream header. adds comment update feature. adds style modifications and additions for comment components. refactors actions for comments using strategy pattern to allow for abstraction. adds dataset-constants constants module
2017-09-10 19:31:54 -07:00
/**
* Create a generic String-Union key -> value mapping constraint
* where the string union must be keys on the map and values
*/
type StringUnionKeyToValue<U extends string> = { [K in U]: K };
export { StringUnionKeyToValue };
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 365ms Template: 18ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API