Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumTypeScriptmodule augmentationSingle-choice MCQ

After these two declarations, why does `buildQuery.version` type-check?

function buildQuery(): string { return ""; } namespace buildQuery { export const version = "1.0"; } const v = buildQuery.version;