function all_types(config, mode) {
	init(config, mode);
	const manifest_data = create_manifest_data({ config });
	write_all_types(config, manifest_data);
}
Run sync.init and then generate all type files.
@param {import('types').ValidatedConfig} config
@param {string} mode The Vite mode