Fix #1674 (docs): upgrade tutorial error on externalScopes