Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this: GraphQLProjectConfig,
defaultName?: string,
) {
return resolveProjectName(this, defaultName);
}
function resolveSchemaPathAugmentation(
this: GraphQLProjectConfig,
ignoreMissing?: boolean,
) {
return resolveSchemaPath(this, ignoreMissing);
}
GraphQLProjectConfig.prototype.resolvePathRelativeToConfig = resolvePathRelativeToConfigAugmentation;
GraphQLProjectConfig.prototype.resolveProjectName = resolveProjectNameAugmentation;
GraphQLProjectConfig.prototype.resolveSchemaPath = resolveSchemaPathAugmentation;
function resolveProjectNameAugmentation(
this: GraphQLProjectConfig,
defaultName?: string,
) {
return resolveProjectName(this, defaultName);
}
function resolveSchemaPathAugmentation(
this: GraphQLProjectConfig,
ignoreMissing?: boolean,
) {
return resolveSchemaPath(this, ignoreMissing);
}
GraphQLProjectConfig.prototype.resolvePathRelativeToConfig = resolvePathRelativeToConfigAugmentation;
GraphQLProjectConfig.prototype.resolveProjectName = resolveProjectNameAugmentation;
GraphQLProjectConfig.prototype.resolveSchemaPath = resolveSchemaPathAugmentation;
function resolveProjectNameAugmentation(
this: GraphQLProjectConfig,
defaultName?: string,
) {
return resolveProjectName(this, defaultName);
}
function resolveSchemaPathAugmentation(
this: GraphQLProjectConfig,
ignoreMissing?: boolean,
) {
return resolveSchemaPath(this, ignoreMissing);
}
GraphQLProjectConfig.prototype.resolvePathRelativeToConfig = resolvePathRelativeToConfigAugmentation;
GraphQLProjectConfig.prototype.resolveProjectName = resolveProjectNameAugmentation;
GraphQLProjectConfig.prototype.resolveSchemaPath = resolveSchemaPathAugmentation;