This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { CamelCase, Simplify } from 'type-fest' | |
declare const create: <B extends string>(blockName: B) => BlockBuilder<B> | |
interface BlockBuilder<R extends string, M extends ModifiersArray = [], E extends BuiltElem<any, any>[] = []> { | |
mod: { | |
<B extends AnyBlockBuilder, M extends string>(this: B, name: M): ExtendsBlockModifiers<B, M> | |
<B extends BlockBuilder<any, any>, M extends string, V extends string>( | |
this: B, | |
modName: M, |