We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PartialDeep
export type ConfigEnvBase = {}; export type UserConfigFn<UserConfig, ConfigEnv extends ConfigEnvBase> = (env: ConfigEnv) => UserConfig | Promise<UserConfig>; export type UserConfigExport<UserConfig, ConfigEnv extends ConfigEnvBase = ConfigEnvBase> = UserConfig | Promise<UserConfig> | UserConfigFn<UserConfig, ConfigEnv>; export declare const defineConfig: <UserConfig, ConfigEnv extends ConfigEnvBase = ConfigEnvBase>(config: UserConfigExport<UserConfig, ConfigEnv>) => UserConfigExport<UserConfig, ConfigEnv>; import { type PartialDeep } from 'type-fest'; export interface FlatForgeOptions { /** * the project root directory, this thould be optional */ projectCwd: string; } type DefineConfigFn = (userConfig: PartialDeep<FlatForgeOptions>) => UserConfigExport<PartialDeep<FlatForgeOptions>>; export declare const defineConfig: DefineConfigFn; defineConfig({ projectCwd: 'src', })
below is 4.6.0
The text was updated successfully, but these errors were encountered:
#738 interface is not UnknownRecord but type is, I'm sorry about mistake this.
interface
UnknownRecord
type
should we revert PR 738? @sindresorhus
revert PR: #743
related: #736
Sorry, something went wrong.
@Emiyaaaaa Reverted for now. It should not recurse into prototype properties though, so I assume we just need a better fix for that?
Also note: #738 (comment)
reopened issue #651, let's talk there
It‘s been fixed at 4.7.1
No branches or pull requests
Upvote & Fund
below is 4.6.0
The text was updated successfully, but these errors were encountered: