mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-20 07:15:02 +08:00
点光源
This commit is contained in:
1 parent
3c7b5906f6
commit
5e0d8ac7d4
17 files changed
+1082
-51
No files matched your search
Vendored
+1
-1
@@ -61,7 +61,7 @@ interface Block<N extends Exclude<AllNumbers, 0> = Exclude<AllNumbers, 0>> {
|
||||
/**
|
||||
* 图块是否不可通行
|
||||
*/
|
||||
nopass: boolean;
|
||||
noPass: boolean;
|
||||
|
||||
/**
|
||||
* 图块高度
|
||||
|
||||
Vendored
+7
@@ -862,6 +862,11 @@ type SelectType<R, T> = {
|
||||
[P in keyof R as R[P] extends T ? P : never]: R[P];
|
||||
};
|
||||
|
||||
/**
|
||||
* 从一个对象中选择类型是目标属性的键名
|
||||
*/
|
||||
type SelectKey<R, T> = keyof SelectType<R, T>;
|
||||
|
||||
/**
|
||||
* 获取一段字符串的第一个字符
|
||||
*/
|
||||
@@ -883,3 +888,5 @@ type NonObjectOf<T> = SelectType<T, NonObject>;
|
||||
* 以一个字符串结尾
|
||||
*/
|
||||
type EndsWith<T extends string> = `${string}${T}`;
|
||||
|
||||
type KeyExcludesUnderline<T> = Excluede<keyof T, `_${string}`>;
|
||||
Reference in new issue
Block a user