fix(typo): should pass exports to factory when amd

is this a type?