Skip to content

6974 Add compiler flag "--lib" #7452

New issue

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

Closed
wants to merge 74 commits into from
Closed

6974 Add compiler flag "--lib" #7452

wants to merge 74 commits into from

Conversation

yuit
Copy link
Contributor

@yuit yuit commented Mar 9, 2016

This PR implements a new compiler flag, "--lib". (For full details about the flag, see #6974 ). The PR also incorporates previous PR #6990.

Kanchalai Tanglertsampan added 30 commits February 8, 2016 18:01
Take dependency on dom.generated.d.ts
Kanchalai Tanglertsampan added 6 commits March 24, 2016 16:25
Conflicts:
	src/compiler/commandLineParser.ts
	src/lib/es6.d.ts
	tests/baselines/reference/asyncAwait_es6.symbols
	tests/baselines/reference/exportAssignValueAndType.symbols
	tests/baselines/reference/exportEqualNamespaces.symbols
	tests/baselines/reference/mergedInterfaceFromMultipleFiles1.symbols
	tests/baselines/reference/mergedInterfacesWithMultipleBases3.symbols
	tests/baselines/reference/objectTypesIdentity2.symbols
	tests/baselines/reference/scopeResolutionIdentifiers.symbols
	tests/baselines/reference/subtypesOfAny.symbols
	tests/baselines/reference/thisTypeInClasses.symbols
	tests/baselines/reference/thisTypeInInterfaces.symbols
	tests/baselines/reference/undefinedIsSubtypeOfEverything.symbols
@@ -630,10 +630,18 @@ namespace ts {
}
}

function getUserDefinedLibFileName(options: CompilerOptions): string[] {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could change this to getDefaultLibLocation() : string, and make it optional on the interface. in case it is not defined, we call getDefaultLibFileName and use the folder name instead.

@mhegazy
Copy link
Contributor

mhegazy commented Mar 29, 2016

closing in favor or #7715

@mhegazy mhegazy closed this Mar 29, 2016
@yuit yuit deleted the 6974AddLibFlag branch April 5, 2016 22:13
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants