Comment utiliser le tampon en angulaire en utilisant la navigation

(window as any).global = window;
global.Buffer = global.Buffer || require('buffer').Buffer;
(window as any).process = {
  version: ''
};
Aamir Farooq